package guida.ccf.gzuexaminesystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author ccf
 * @since 2023-11-03
 */
@Getter
@Setter
@TableName("teacher_info")
@ApiModel(value = "TeacherInfo对象", description = "教师对象")
public class TeacherInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId("id")
    private Long id;

    @ApiModelProperty("工号")
    @TableField("job_code")
    private String jobCode;

    @ApiModelProperty("密码")
    @TableField("password")
    private String password;

    @ApiModelProperty("姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty("学院")
    @TableField("college")
    private String college;

    @ApiModelProperty("权限字段")
    @TableField("role_type")
    private String roleType;
}
